package com.leyou.item.api;

import com.leyou.order.pojo.Category;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

/**
 * lcd  2020/6/10
 * Description:
 */
@RequestMapping("/category")
public interface CategoryApi {
    @GetMapping("/list/ids")
    List<Category> queryListByIds(@RequestParam("ids") List<Long> ids);
}
